{include file="public/header" /}
<link rel="stylesheet" href="/static/index/css/page/login.css">
<body>
<div class="main">
    <div class="build-navbar" data-title="注册账号"
         data-transparent

    ></div>
    <img src="/static/index/images/bg/bg_logintop@2x.png" alt="" class="img-top"/>
    <form class="layui-form" action="{:url('register/save')}" lay-filter="lay-form">
        <div class="vessel radius-20 m-30 p-30">
<!--            <div class="welcome">您好，欢迎注册</div>-->

            <div class="item">
                <div class="title">编号</div>
                <div class="val flex justify-between items-center">
                    <input class="flex-1" type="text" placeholder="请填写编号" name="code" lay-verify="req"
                           autocomplete="off"/>
                </div>
            </div>

            <div class="item">
                <div class="title">姓名</div>
                <div class="val flex justify-between items-center">
                    <input class="flex-1" type="text" placeholder="请填写姓名" name="nickname" lay-verify="req"
                           autocomplete="off"/>
                </div>
            </div>

            <div class="item">
                <div class="title">手机号</div>
                <div class="val flex justify-between items-center">
                    <input class="flex-1" type="text" placeholder="请填写手机号" name="mobile" lay-verify="req"
                           autocomplete="off"/>
                </div>
            </div>

            <div class="item">
                <div class="title">短信验证码</div>
                <div class="val flex justify-between items-center">
                    <input class="flex-1" type="text" placeholder="请填写短信验证码" name="captcha" lay-verify="req"
                           autocomplete="off"/>
                    <div class="code">获取验证码</div>
                </div>
            </div>

            <div class="item">
                <div class="title">登录密码</div>
                <div class="val flex justify-between items-center">
                    <input class="flex-1" type="password" placeholder="请设置登录密码" name="password"
                           lay-verify="req"/>
                </div>
            </div>

            <div class="item">
                <div class="title">确认登录密码</div>
                <div class="val flex justify-between items-center">
                    <input class="flex-1" type="password" placeholder="请确认登录密码" name="password_confirm"
                           lay-verify="req"/>
                </div>
            </div>

            <div class="item">
                <div class="title">支付密码</div>
                <div class="val flex justify-between items-center">
                    <input class="flex-1" type="password" placeholder="请设置支付密码" name="pay_password"
                           lay-verify="req"/>
                </div>
            </div>

            <div class="item">
                <div class="title">确认支付密码</div>
                <div class="val flex justify-between items-center">
                    <input class="flex-1" type="password" placeholder="请确认支付密码" name="pay_password_confirm"
                           lay-verify="req"/>
                </div>
            </div>

            <div class="item">
                <div class="title">邀请人</div>
                <div class="val flex justify-between items-center">
                    <input class="flex-1" type="text" placeholder="请填写邀请人" name="parent_code" lay-verify="req"
                           autocomplete="off" {if $Request.param.code}value="{$Request.param.code}" readonly{/if}/>
                </div>
            </div>
            <div class="line-display flex items-center justify-start">
                <input type="checkbox" name="agree" title="我已阅读并同意" value="1">
                <div class="title agreement-val">《注册协议》</div>
            </div>
            <div class="btn-container ">
                <div class="btn theme-btn" lay-event="formSubmit">立即注册</div>
            </div>

        </div>
    </form>
</div>
</body>
{include file="public/footer"/}
<script>

</script>
</html>